{template '_header'}
<div class="page-header">
    当前位置：<span class="text-primary">自购返利/金额设置</span>
</div>
<div class="page-content">
    <div class="page-toolbar">
         <span class=''>

		 {ifp 'dividend.level.add'}
			<a class='btn btn-primary btn-sm' data-toggle='ajaxModal' href="{php echo webUrl('dividend/price/add')}"><i class="fa fa-plus"></i> 添加返利规则</a>
		 {/if}

	</span>
    </div>
    <div class='alert alert-primary'>提示: 没有设置个人业绩返利规则,不产生个人业绩返利。</div>
    <table class="table table-responsive table-hover">
        <thead>
        <tr>
            <th>每个季度满额</th>
            <th>返利比例</th>
            <th style="width:100px;">操作</th>
        </tr>
        </thead>
        <tbody>
        {loop $list $row}
        <tr {if $row['id']=='default'}style='background:#f2f2f2'{/if}>
        <td>{$row['levelname']}{if $row['id']=='default'}【默认等级】{/if}</td>
        <td>{$row['commission']}%</td>
        <td>
            <a class='btn btn-default btn-sm btn-op btn-operation' data-toggle='ajaxRemove'  href="{php echo webUrl('dividend/price/delete', array('id' => $row['id']))}" data-confirm="确认删除此规则吗？">
                <span data-toggle="tooltip" data-placement="top" title="" data-original-title="删除"><i class='icow icow-shanchu1'></i></span>
            </a>
        </td>
        </tr>
        {/loop}
        </tbody>
    </table>
</div>
{template '_footer'}


<!--青岛易联互动网络科技有限公司-->